﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace XNAGame_Lab1
{
    public class Head : CharactorItem
    {
                     public Head(Charactor myXNA,ContentManager content, List<string> strTexture, int nSprites, Vector2 topleft, Vector2 size):base (myXNA ,content,strTexture,nSprites,topleft,size)
        {
                      // this.charactor = myXNA;

        }
                     public Head(Charactor myXNA, ContentManager content, string refix, int nSprites, Vector2 topleft, Vector2 size)
                       : base(myXNA, content, refix, nSprites, topleft, size)
        {
         //   this.charactor = myXNA;
        }
                     public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
                     {
                         this.TopLeft = new Vector2(this.charactor.TopLeft.X, this.charactor.TopLeft.Y - 50);

                         base.Draw(gameTime, spriteBatch);
                     }

    }
}
